package com.xebia.pomodoro.event
{
	import com.xebia.pomodoro.messages.P2PMessage;

	import flash.events.Event;

	public class SendMessageEvent extends Event
	{
		public var p2pmessage:P2PMessage;

		public static const SEND_P2P_MESSAGE:String = "sendP2PMessage"

		public function SendMessageEvent(message:P2PMessage, bubbles:Boolean = true, cancelable:Boolean = false)
		{
			this.p2pmessage = message;
			super(SEND_P2P_MESSAGE, bubbles, cancelable);
		}
	}
}
